#pragma once
#include "../txr_algo_dlm_rec/txr_algo_dlm_rec_impl.h"

# if defined(TXR_ALGO_DLM_REC_V1_O_LIB)
#  define TXR_ALGO_DLM_REC_V1_O_EXPORT Q_DECL_EXPORT
# else
#  define TXR_ALGO_DLM_REC_V1_O_EXPORT Q_DECL_IMPORT
# endif

namespace txr_algo_dlm_rec
{
	class Rec_Container;

	class TXR_ALGO_DLM_REC_V1_O_EXPORT TxrAlgoDlmRecV1_o : public TxrAlgoDlmRecImpl
	{
	public:
		TxrAlgoDlmRecV1_o();
		~TxrAlgoDlmRecV1_o();

		tk_bool Load(st_dlm_cfg & cfg);
		void Release();
		tk_int32 BatchSize();
		void Detect(st_detect_unit * p_unit, tk_int32 size);

	private:
		Rec_Container* m_p_detect;
	};

}//namespace txr_algo_dlm_rec